package mvc;

import controllers.GeneralController;
import views.MainFrame;
import models.Model;

import java.math.BigInteger;


/**
 * Created with IntelliJ IDEA.
 * User: Артемка
 * Date: 30.11.13
 * Time: 19:10
 * To change this template use File | Settings | File Templates.
 */
public class MainClass {

    private Model model = null;
    private MainFrame view = null;
    private GeneralController generalController = null;



    public static void main(String[] s) {

        MainFrame mainFrame = new MainFrame();
        Model model = new Model();

        MainFrame mainFrame1 = new MainFrame();
        MainFrame mainFrame2 = new MainFrame();
        MainFrame mainFrame3 = new MainFrame();

        model.addListener(mainFrame);
        model.addListener(mainFrame1);
        model.addListener(mainFrame2);
        model.addListener(mainFrame3);

        GeneralController guiController = new GeneralController(mainFrame, model);
        guiController.showMainView();


    }

}
